package io.renren.entity;

import io.renren.validator.group.AddGroup;
import io.renren.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 考评信息
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-15 16:09:53
 */
public class EvaluationInformationEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//ID
	private Integer id;
	//绩效表的id
	private Integer achievementsId;
	//员工姓名
	private String empName;
	//员工id
	private String empId;
	//部门
	private String department;
	//部门id
	private String departmentId;
	//岗位
	private String post;
	//岗位id
	private String postId;
	//年
	private String year;
	//月
	private String mouth;
	//绩效内容
	@NotBlank(message="绩效内容不能为空", groups = {AddGroup.class, UpdateGroup.class})
	private String achievementsContent;
	//权重分值
	private BigDecimal weightScore;
	//自我评分
	private BigDecimal selfRating;
	//自评说明
	private String selfInstruction;
	//上级评分
	private String superiorScoring;
	//上级评分说明
	private String superiorInstruction;
	//录入日期
	private Date cdate;
	//录入人
	private String cusername;
	//审核人
	private String approver;
	//审核时间
	private Date approveDate;

	/**
	 * 设置：ID
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：绩效表的id
	 */
	public void setAchievementsId(Integer achievementsId) {
		this.achievementsId = achievementsId;
	}
	/**
	 * 获取：绩效表的id
	 */
	public Integer getAchievementsId() {
		return achievementsId;
	}
	/**
	 * 设置：员工姓名
	 */
	public void setEmpName(String empName) {
		this.empName = empName;
	}
	/**
	 * 获取：员工姓名
	 */
	public String getEmpName() {
		return empName;
	}
	/**
	 * 设置：员工id
	 */
	public void setEmpId(String empId) {
		this.empId = empId;
	}
	/**
	 * 获取：员工id
	 */
	public String getEmpId() {
		return empId;
	}
	/**
	 * 设置：部门
	 */
	public void setDepartment(String department) {
		this.department = department;
	}
	/**
	 * 获取：部门
	 */
	public String getDepartment() {
		return department;
	}
	/**
	 * 设置：部门id
	 */
	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}
	/**
	 * 获取：部门id
	 */
	public String getDepartmentId() {
		return departmentId;
	}
	/**
	 * 设置：岗位
	 */
	public void setPost(String post) {
		this.post = post;
	}
	/**
	 * 获取：岗位
	 */
	public String getPost() {
		return post;
	}
	/**
	 * 设置：岗位id
	 */
	public void setPostId(String postId) {
		this.postId = postId;
	}
	/**
	 * 获取：岗位id
	 */
	public String getPostId() {
		return postId;
	}
	/**
	 * 设置：年
	 */
	public void setYear(String year) {
		this.year = year;
	}
	/**
	 * 获取：年
	 */
	public String getYear() {
		return year;
	}
	/**
	 * 设置：月
	 */
	public void setMouth(String mouth) {
		this.mouth = mouth;
	}
	/**
	 * 获取：月
	 */
	public String getMouth() {
		return mouth;
	}
	/**
	 * 设置：绩效内容
	 */
	public void setAchievementsContent(String achievementsContent) {
		this.achievementsContent = achievementsContent;
	}
	/**
	 * 获取：绩效内容
	 */
	public String getAchievementsContent() {
		return achievementsContent;
	}
	/**
	 * 设置：权重分值
	 */
	public void setWeightScore(BigDecimal weightScore) {
		this.weightScore = weightScore;
	}
	/**
	 * 获取：权重分值
	 */
	public BigDecimal getWeightScore() {
		return weightScore;
	}
	/**
	 * 设置：自我评分
	 */
	public void setSelfRating(BigDecimal selfRating) {
		this.selfRating = selfRating;
	}
	/**
	 * 获取：自我评分
	 */
	public BigDecimal getSelfRating() {
		return selfRating;
	}
	/**
	 * 设置：自评说明
	 */
	public void setSelfInstruction(String selfInstruction) {
		this.selfInstruction = selfInstruction;
	}
	/**
	 * 获取：自评说明
	 */
	public String getSelfInstruction() {
		return selfInstruction;
	}
	/**
	 * 设置：上级评分
	 */
	public void setSuperiorScoring(String superiorScoring) {
		this.superiorScoring = superiorScoring;
	}
	/**
	 * 获取：上级评分
	 */
	public String getSuperiorScoring() {
		return superiorScoring;
	}
	/**
	 * 设置：上级评分说明
	 */
	public void setSuperiorInstruction(String superiorInstruction) {
		this.superiorInstruction = superiorInstruction;
	}
	/**
	 * 获取：上级评分说明
	 */
	public String getSuperiorInstruction() {
		return superiorInstruction;
	}
	/**
	 * 设置：录入日期
	 */
	public void setCdate(Date cdate) {
		this.cdate = cdate;
	}
	/**
	 * 获取：录入日期
	 */
	public Date getCdate() {
		return cdate;
	}
	/**
	 * 设置：录入人
	 */
	public void setCusername(String cusername) {
		this.cusername = cusername;
	}
	/**
	 * 获取：录入人
	 */
	public String getCusername() {
		return cusername;
	}
	/**
	 * 设置：审核人
	 */
	public void setApprover(String approver) {
		this.approver = approver;
	}
	/**
	 * 获取：审核人
	 */
	public String getApprover() {
		return approver;
	}
	/**
	 * 设置：审核时间
	 */
	public void setApproveDate(Date approveDate) {
		this.approveDate = approveDate;
	}
	/**
	 * 获取：审核时间
	 */
	public Date getApproveDate() {
		return approveDate;
	}
}
